package wiki.so.api;

import java.util.Date;

import il.ac.technion.wiki.api.Author;
import il.ac.technion.wiki.api.Metadata;

public class StackOverflowMetadata extends Metadata {
	public StackOverflowMetadata(String name) {
		super(name, null, null, null);
	}
	
	@Override
	public int compareTo(Metadata o) {
		throw new UnsupportedOperationException();
	}

	@Override
	public Author getAuthor() {
		throw new UnsupportedOperationException();
	}

	@Override
	public Date getDate() {
		throw new UnsupportedOperationException();
	}

	@Override
	public Language getLanguage() {
		throw new UnsupportedOperationException();
	}

	@Override
	public String getName() {
		return super.getName();
	}

	@Override
	public void setAuthor(Author author) {
		throw new UnsupportedOperationException();
	}

	@Override
	public void setDate(Date date) {
		throw new UnsupportedOperationException();
	}

	@Override
	public void setLanguage(Language language) {
		throw new UnsupportedOperationException();
	}

	@Override
	public void setName(String name) {
		super.setName(name);
	}
	
	public Integer			question_id;
	public OwnerMetadata 	owner;
	public Date				creation_date;
	public Date				last_edit_date;
	public Date				last_activity_date;
	public Integer			up_vote_count;
	public Integer			down_vote_count;
	public Integer			view_count;
	public Integer			score;
	public Boolean			community_owned;
	public String			title;
}
